package ru.nsu.fit.iconveyor.engine;

import java.util.Collection;

/**
 * Observes process of conveyor execution.
 */
public interface ConveyorExecutionObserver {
    /**
     * Indicates that execution of node started
     * @param nodeId identifier of node
     * @param affectedInputs identifiers of inputs where data was taken from for this execution
     * @param affectedOutputs identifiers of outputs where data was put after this execution
     */
    void onNodeExecuted(String nodeId, Collection<String> affectedInputs, Collection<String> affectedOutputs);
}
